package com.catchu.pattern.creational.构造器模式.bill;

public class Test {
    public static void main(String[] args) {
        builderTest();
    }

    public static void builderTest(){
        // 订单管理类对象
        BillManage billMgmt = new BillManage();
        // 国内订单
        Order domesticOrder = new Order("婴儿手口巾",20,0,false);
        billMgmt.outputBill(domesticOrder);
        System.out.println("-----------------------------------------------------------------");
//        // 国际订单
//        Order internationalOrder = new Order("婴儿车",3750,1,true);
//        billMgmt.outputBill(internationalOrder);
    }
}
